package ru.spb.osll.myfit.ssh;

public class SSHFixturesContainer {
  private static SSHClientManager mySSHClientManager;
  
  public static SSHClientManager getSSHClientManager(){
    return mySSHClientManager;
  }
  
  public static void setSSHClientManager(SSHClientManager sshClientManager){
    if(mySSHClientManager != null && mySSHClientManager.isActive()){
      mySSHClientManager.close();
    }
    mySSHClientManager = sshClientManager;
  }
}
